package com.geek.admin.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author gzy
 * @date 2020/7/2 15:23
 */
@Configuration
@ConfigurationProperties(
        prefix = "spring"
)
@Data
public class SpringProperties {

    private Cache cache;

    @Data
    public static class Cache {
        /**
         * 系统缓存类型
         */
        private String type;
    }

}
